from elasticsearch import AsyncElasticsearch


from config import settings

es_client = AsyncElasticsearch(settings.dsl, http_auth=(settings.es.get("kexie").get("username"), settings.es.get("kexie").get("password")) ,timeout=120)

Index_KJJ_ACTIVITY_REGISTER = '2-kjj-activity-register'

Index_KJJ_ALUMNI = '2-kjj-alumni'

Index_KJJ_DEPARTMENT = '2-department'


